package interpreter.service.impl;

import interpreter.service.Expression;

public class TerminationExpression implements Expression {
    private String data;
    public TerminationExpression(String data){
        this.data = data;
    }
    @Override
    public boolean interpret(String content) {
        if (content.contains(data)){
            return true;
        }
        return false;
    }
}
